<template>
	<view class="container">
		<view @click="wkProjectToPage('./childPage/current-project/current-project',2)" class="container-bg z-font-lg u-padding-40 z-b-r u-flex u-row-between u-margin-bottom-20" hover-class="h-class">
			<view class="u-flex u-flex-1">
				<view class="u-margin-right-10"><u-icon name="file-text"></u-icon></view>
				<view>进行中项目</view>
			</view>
			<view class="u-margin-right-10"><u-icon name="arrow-right"></u-icon></view>
		</view>
		<view @click="wkProjectToPage('./childPage/history-project/history-project',3)" class="container-bg z-font-lg u-padding-40 z-b-r u-flex u-row-between u-margin-bottom-20" hover-class="h-class">
			<view class="u-flex u-flex-1">
				<view class="u-margin-right-10"><u-icon name="clock"></u-icon></view>
				<view>历史项目</view>
			</view>
			<view class="u-margin-right-10"><u-icon name="arrow-right"></u-icon></view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			wkProjectToPage(url,projectStatus){
				uni.navigateTo({url:`${url}?projectStatus=${projectStatus}`});
			}
		}
	}
</script>
